/*
Copyright © 2025 NAME HERE <EMAIL ADDRESS>
*/
package main

import (
	"GVM/Utils"
	"fmt"
)

func main() {
	//cmd.Execute()
	//var guiguiutil = Utils.NEWGUIGUIVersionUtil()
	//versions, err := guiguiutil.GetGUIGUIVersionList()
	//if err != nil {
	//	fmt.Println("请求或解析失败:", err)
	//	return
	//}
	//fmt.Printf("获取到的版本数量: %d\n", versions.Data.Count)

	err := Utils.InstallFile("https://eggrj.oss-cn-hangzhou.aliyuncs.com/windows/guigui4.0.0.4.dmg", "./1.dmg")
	if err != nil {
		fmt.Println("下载失败:", err)
	} else {
		fmt.Println("下载成功")
	}
}
